projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9118a4d
)
(image-mode): Fix 2008-07-19 change.
author
Chong Yidong
<cyd@stupidchicken.com>
Fri, 29 Aug 2008 05:14:17 +0000
(
05:14
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Fri, 29 Aug 2008 05:14:17 +0000
(
05:14
+0000)
lisp/image-mode.el
patch
|
blob
|
history
diff --git
a/lisp/image-mode.el
b/lisp/image-mode.el
index b903d497ec02cd1d9543667ee3078d6f00ed9c18..4abef663eb05a0fc559468554e402150dfe8d5b4 100644
(file)
--- a/
lisp/image-mode.el
+++ b/
lisp/image-mode.el
@@
-209,7
+209,7
@@
to toggle between display as an image and display as text."
(setq major-mode 'image-mode)
(add-hook 'change-major-mode-hook 'image-toggle-display-text nil t)
(if (display-images-p)
- (if (not (
image-get-display-propert
y))
+ (if (not (
get-text-property (point-min) 'displa
y))
(image-toggle-display)
;; Set next vars when image is already displayed but local
;; variables were cleared by kill-all-local-variables